package org.bee.mappers;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.bee.model.AdminUser;
import org.bee.model.AdminUserExample;

/**
 * @author 陈国松
 * @date 2025-02-28 08:52:32
 * @description 系统用户表Mapper层
 * 表 admin_user
 */
public interface AdminUserMapper {

    long countByExample(AdminUserExample example);

    int deleteByExample(AdminUserExample example);

    int deleteByPrimaryKey(@Param("userId") String userId);

    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    List<AdminUser> selectByExample(AdminUserExample example);

    AdminUser selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") AdminUser record, @Param("example") AdminUserExample example);

    int updateByExample(@Param("record") AdminUser record, @Param("example") AdminUserExample example);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);
}